
module.exports = app => {
    const { DATE, STRING, JSON } = app.Sequelize;
    const Group = app.model.define('b_c_user_group', {
        //id: { type: INTEGER(11), primaryKey: true, autoIncrement: true },
        group_name: { type: STRING(255), allowNull: false, primaryKey: true, },
        group_stations: { type: JSON, allowNull: true },
        note: { type: STRING(255), allowNull: true },
        created_at: { type: DATE, allowNull: false, defaultValue: new Date()  },
        updated_at: { type: DATE, allowNull: false, defaultValue: new Date()  },
    }, {
        paranoid: false,
        timestamps: true,
    });

    return Group;
};
export {}